FILENAME=lab10
FUNCTION1=timer


all:	$(FILENAME)

$(FILENAME): $(FILENAME).o $(FUNCTION1).o
	g++ $(FILENAME).o $(FUNCTION1).o -o $(FILENAME) -lSDL -lSDL_image -lSDL_ttf
$(FILENAME).o: $(FILENAME).cpp
	g++ -c $(FILENAME).cpp
$(FUNCTION1).o: $(FUNCTION1).cpp
	g++ -c $(FUNCTION1).cpp
clean:
	rm -f *.o
	rm -f Makefile~
	rm -f *.*~
	rm -f $(FILENAME)

